package global

import (
	"github.com/apache/rocketmq-client-go/v2"
	"gorm.io/gorm"
	"sale_system/order_srv/config"
	"sale_system/order_srv/proto"
)

var (
	ServerConfig *config.ServerConfig = &config.ServerConfig{}
	DB           *gorm.DB
	NacosConfig  *config.NacosConfig = &config.NacosConfig{}

	GoodsSrvClient       proto.GoodsClient
	InventorySrvClient   proto.InventoryClient
	ProducerInventReback rocketmq.TransactionProducer
	ProducerOrderTimeout rocketmq.Producer
	InventRebackFlag     bool
)
